//
//  NativeMediaPicker.h
//  NativeMediaPicker
//
//  Created by Hai Trinh on 5/17/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FlashRuntimeExtensions.h"
#import "NativeMediaPickerHelper.h"

@interface NativeMediaPicker : NSObject

FREObject PKshowMediaPicker(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[]);
FREObject PKplaySong(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[]);
FREObject PKseek(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[]);
//Required methods
void ContextInitializer(void* extData, const uint8_t* ctxType, FREContext ctx, 
						uint32_t* numFunctionsToTest, const FRENamedFunction** functionsToSet);
void ContextFinalizer(FREContext ctx);
void ExtInitializer(void** extDataToSet, FREContextInitializer* ctxInitializerToSet, 
                    FREContextFinalizer* ctxFinalizerToSet);
void ExtFinalizer(void* extData);

@end
